import Mine from '@/views/Mine'
import Regist from '@/views/Mine/Regist'
import Home from '@/views/Mine/Home'
import Login from '@/components/Login'

export default {
    path:'/mine',
    component:Mine,
    children:[
        {
            path:'home',
            component:Home,
        },
        {
            path:'login',
            component:Login,
        },
        {
            path:'regist',
            component:Regist,
        },
        {
            path:'*',
            redirect:'login',
        }
    ]
}

// import Login from '@/components/Login'
// export default {
//     path:'/mine',
//     component:Login

// }